package com.cory.admin.sys.mapper;

import org.apache.ibatis.annotations.Param;
import com.cory.admin.sys.domain.entity.SysDept;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 *  Mapper 接口
 *
 * @author xc
 * @since 2022-01-14
 */
public interface SysDeptMapper extends BaseMapper<SysDept> {

    Integer maxCode(@Param("tenantId")Integer tenantId, @Param("parent")String parent);
}
